package com.ossjk.oa.system.mapper;

import com.ossjk.oa.system.entity.Dictionary;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 * 数组字典 Mapper 接口
 * </p>
 *
 * @author chair
 * @since 2019-02-03
 */
public interface DictionaryMapper extends BaseMapper<Dictionary> {
	@Select("select dvalue from Dictionary where dkey=#{dkey} ")
	String getDValueByKey(@Param("dkey") String dkey);
}
